import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { TagController } from "~/modules/assess/tag/tag.controller";
import { AccessTagService } from "~/modules/assess/tag/tag.service";
import { AccessDictModule } from "../access-dict/access-dict.module";
import { HouseModule } from "../house/house.module";
import { TagEntity } from "./tag.entity";

@Module({
	imports: [
		TypeOrmModule.forFeature([TagEntity]),
		HouseModule,
		AccessDictModule
	],
	controllers: [TagController],
	providers: [AccessTagService],
	exports: [TypeOrmModule, AccessTagService]
})
export class TagModule { }
